package com.ruibang.glass.material.controller.gj;

import com.ruibang.glass.material.domain.req.ycl.MaterialInventoryReq;
import com.ruibang.glass.material.service.gj.GMaterialGJInventoryManagementService;
import com.teaming.cloud.framework2.common.model.ResultBody;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * <p>
 * 工具库存管理表 前端控制器
 * </p>
 *
 * @author mameng
 * @since 2024-02-05
 */
@RestController

@RequestMapping("/api/material/gj/inventory/management")
@Api(value="工具库存管理表",tags={"工具库存管理表"})
public class MaterialGJInventoryManagementController {


    @Autowired
    private GMaterialGJInventoryManagementService materialInventoryManagementService;

    @PostMapping("/list")
    @ApiOperation(value = "工具库存管理列表查询", response = ResultBody.class)
    public ResultBody getPageList(@RequestBody MaterialInventoryReq materialManagementReq) {
        return ResultBody.success(materialInventoryManagementService.getPage(materialManagementReq));
    }





}
